import React, { Component } from 'react';
import { NavLink } from 'react-router-dom';

import MyRouter from './router/MyRouter';

import style from './css/App.module.css';

export default class App extends Component {
  render() {
    return (
      <MyRouter>
        <ul className={style.tabbar}>
          <li>
            <NavLink to={'/film/nowPlaying'}>电影</NavLink>
          </li>
          <li>
            <NavLink to={'/cinema'}>影院</NavLink>
          </li>
          <li>
            <NavLink to={'/center'}>我的</NavLink>
          </li>
        </ul>
      </MyRouter>
    );
  }
}
